#include <bits/stdc++.h>
using namespace std;

int main()
{
    freopen("color.in","r",stdin);
    freopen("color.out","w",stdin);
    int t;
    cin >> t;
    while(t--)
    {
        cout << "0\n";
    }
    return 0;
}
